package items;

import java.math.BigDecimal;


public class Service extends Item {

	private BigDecimal salePrice;
	
	public Service(String name, BigDecimal price) {
		super(name);
		this.salePrice = price;
	}
	
	public Service(){}
	
	//--------------Methods---------
	
	/**
	 * Devuelve el precio de venta de un Service
	 * @return BigDecimal
	 */
	public BigDecimal salePrice() {	
		return this.getSalePrice();
	}

	//-----------Sett&Gett-----------
	
	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}

	public BigDecimal getSalePrice() {
		return salePrice;
	}


}
